<%@ page import="com.javaweb.entity.User" %>
<%@ page import="java.util.concurrent.CopyOnWriteArrayList" %><%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022/9/28
  Time: 0:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta name="referrer" content="never">
    <title>JWP: Java Web 程序设计</title>
    <link rel="icon" href="../../images/favico.jpg" type="image/x-icon" />
    <link rel="stylesheet" href="../../css/login.css"/>
    <style>
        .container {
            width:90%;
            height:100%;
            color:darkorange;
            font-size:16px;
            letter-spacing: 15px;

        }
        .user-infor {
            box-sizing: border-box;
            height:100px;
            width:40%;
            float:right;
        }
        .user-infor img{
            width:80px;
            height:80px;
            margin-top:20px;
            border-radius: 50%;
        }
        .show-content {
            margin:50px auto;

        }
    </style>
</head>
<%
    User user = (User) session.getAttribute("user") ;
   /* String srcPath = ".." + FileUploadTool.getUploadDir(request) + user.getImgURL();
    CopyOnWriteArrayList<String> onlineUserList = (CopyOnWriteArrayList<String>)application.getAttribute("OnlineUserList") ;
*/%>
<body>
<div class="container">
    <span class="user-infor">欢迎你：<%=user.getName()%>&nbsp;&nbsp;<a href="">退出</a> </span>
    <div class="show-content">
        <h3>当前在线人数： </h3>
    </div>
</div>


</body>
</html>
